#pragma once
#include "Dynamics.h"
#include "RigidBody.h"
#include "PolyLine.h"

namespace poly
{
	// Path constraint
	// usage:
	class Path : public IConstraint
	{
	public:
		Path();

		void apply( float dt );

		RigidBody*	rigidBody;
		float3		pointOfApp;
		PolyLine*	path;
	};
}
